package com.ruoyi.BasicSettings.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 药品管理对象 drug_management
 * 
 * @author ruoyi
 * @date 2025-08-23
 */
public class DrugManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long managementId;

    /** 药品ID */
    @Excel(name = "药品ID")
    private Long drugId;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String typeName;

    /** 是否售卖 */
    @Excel(name = "是否售卖")
    private Integer isSale;

    public void setManagementId(Long managementId) 
    {
        this.managementId = managementId;
    }

    public Long getManagementId() 
    {
        return managementId;
    }

    public void setDrugId(Long drugId) 
    {
        this.drugId = drugId;
    }

    public Long getDrugId() 
    {
        return drugId;
    }

    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }

    public void setIsSale(Integer isSale) 
    {
        this.isSale = isSale;
    }

    public Integer getIsSale() 
    {
        return isSale;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("managementId", getManagementId())
            .append("drugId", getDrugId())
            .append("typeName", getTypeName())
            .append("isSale", getIsSale())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
